package com.xuecheng.manage_course;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author: gongfy
 * @create: 2020/8/11 9:31
 * @Description:
 */
@Component
public class TestComponent {
    @Bean
    public  String test2(){
        System.out.println("this is a component");
        return "123";
    }
}
